package cn.ulc.store.dao.user;

import cn.ulc.store.dao.BaseDao;
import cn.ulc.store.entity.user.WeixinUser;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.engine.PageQuery;

import java.util.List;

/*
* WeixinUser
* gen by Jin mapper 2019-05-29
*/
@SqlResource("user.weixinUser")
public interface WeixinUserDao extends BaseDao<WeixinUser> {

  PageQuery findListPage(PageQuery pageQuery);

  PageQuery findDepositListPage(PageQuery pageQuery);

  WeixinUser findByOpenId(String openId);

  WeixinUser findByPhone(Long companyId,String phone);

  Long findCount(Long companyId);

  List<WeixinUser> findBirthdayList();

}
